home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / cmprss.exe / COMPRSS.DOC < prev    next >
Text File  |  1993-01-28  |  915b  |  22 lines

  1. CP.EXE compresses or decompresses individual files:
  2.  
  3. CP c <infile> <outfile> compresses the <infile>, writing out <outfile>
  4. CP d <infile> <outfile> uncompresses <infile>, writing out <outfile>
  5.  
  6. CPTEST tests the various forms of reading and writing to files, including
  7. all the get, getline, write, put, and overloaded functions.  Use this
  8. utility to validate any changes that you make to the stream classes.
  9. CPTEST generates two files, TEST.OUT and UNCOMP: the compressed data and 
  10. the raw data, respectively.
  11.  
  12. Several functions which are meaningless in a compressed file (such as
  13. file positioning, putting back data, etc) have been defined in these
  14. classes but are "do nothing" functions to prevent the compressed data
  15. from being corrupted.
  16.  
  17. The compression algorithm comes from The C Users Journal, October 1992,
  18. article written by Ed Ross.
  19.  
  20. Marc-Thomas Clifton
  21. CompuServe address: 71754,1204
  22.